package base.extend;

/**
 * @Description:
 * @Author: hmm
 * @CreateDate: 2019/8/29
 * @UpdateUser:
 * @UpdateDate: 2019/8/29
 * @UpdateRemark: 修改备注
 * @Version: 1.0
 */
public class Child extends Parent {
    private String address;
    private String phone;

    static {
        System.out.println("子类static");
    }


    public Child() {
        System.out.println("子类无参构造");
    }

    public Child(String address, String phone) {
        this.address = address;
        this.phone = phone;
        System.out.println("子类有参构造");
    }
}
